package String;

public class Biak {

	public static void main(String[] args) {
		// 去除空格
		String str = "  Java Class   ";
		System.out.println("原来字符串长度: "+str.length());
		System.out.println("去除空格后字符串长度: "+ str.trim().length());

	}

}
